package bg.bgfirst;



import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;


public class ActivityMain extends Activity {

	int i =0;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		final Button buttonDetailBlackList =(Button) findViewById(R.id.buttonBlackList);
		
		
		OnClickListener buttonListener2 = new OnClickListener() {
			@Override
			public void onClick(View v) {
				showBlackList();
			}
		};
		
		buttonDetailBlackList.setOnClickListener(buttonListener2);
		//incomingCallReciever = new IncomingCallReciever();
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}

	@Override
	protected void onNewIntent(Intent intent) {
		Log.v("BG","   new Intent xxxxxxxxxxxxxxxxxxxxxxxxxxxx");
		
	}
	
	IncomingCallReciever incomingCallReciever;

	private void showBlackList() {
		 Intent intent = new Intent(this,ActivityDisplayBlackList.class);
		  startActivity(intent);
	}
	
	
	
	
}
